Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add getListenersPriority(eventName, listener) to EventDispatcherAbstract #25

Merged
merged 3 commits into from
Dec 23, 2015

Conversation

MarkRedeman
Copy link
Contributor

This function is required by the interface of event-dispatcher version 3. Moreover this commit fixes a test which was added in event-dispatcher 2.8.

This function is required by the interface of event-dispatcher version 3. Moreover this commit fixes a test which was added in event-dispatcher 2.8.
Currently this has no effect as tmdb/api requires ~2.0
@MarkRedeman MarkRedeman force-pushed the add-get-listeners-priority branch from 5b4ab7a to 8855b77 Compare December 22, 2015 20:28
…atcher's AbstractEventDispatcherTest class for unit tests

The simplification was necessary as event-dispatcher v3.0 has deprecated Event::setName and Event::setDispatcher
The new AbstractEventDispatcherTest was added in favour of the one provided by event-dispatcher as we are currently supporting v2.8 and v3.0 which have minor differences, hence it will be more stable to write our own abstract test class
@MarkRedeman MarkRedeman force-pushed the add-get-listeners-priority branch from 8855b77 to 2017ae1 Compare December 23, 2015 12:53
MarkRedeman added a commit that referenced this pull request Dec 23, 2015
Make EventDispatcherAdapter compatible with event-dispatcher v3.0.
@MarkRedeman MarkRedeman merged commit 4fec330 into php-tmdb:master Dec 23, 2015
@MarkRedeman MarkRedeman deleted the add-get-listeners-priority branch December 23, 2015 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant